package com.deer.wms.base.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.deer.wms.base.system.dao.TestMapper;
import com.deer.wms.base.system.model.Test;
import com.deer.wms.base.system.model.TestCriteria;
import com.deer.wms.base.system.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created by guo on 2020/08/08.
 */
@Service
@Transactional
public class TestServiceImpl extends ServiceImpl<TestMapper, Test> implements TestService {

    @Autowired
    private TestMapper testMapper;

    @Override
    public List<Test> findList(TestCriteria criteria) {
        return testMapper.findList(criteria);
    }
}
